package com.zl.shirodemo.controller;

import java.util.ArrayList;

import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.zl.shirodemo.responseBean.Student;

@Controller
public class StudentController {
    @RequestMapping("/students")
    public ResponseEntity getStudents() {
        ArrayList<Student> students = new ArrayList<>();
        return ResponseEntity.ok(students);
    }
}
